<template>
    <div>
        
    <!-- 头部区域 -->
    <!-- 头部导航栏 -->
    <div class="Navigation">
        <ul>
            <li>
                <a href="javascript:;">豆瓣</a>
            </li>
            <li>
                <a href="javascript:;">读书</a>
            </li>
            <li>
                <a href="javascript:;">电影</a>
            </li>
            <li>
                <a href="javascript:;">音乐</a>
            </li>
            <li>
                <a href="javascript:;">同城</a>
            </li>
            <li>
                <a href="javascript:;">小组</a>
            </li>
            <li>
                <a href="javascript:;">阅读</a>
            </li>
            <li>
                <a href="javascript:;">FM</a>
            </li>
            <li>
                <a href="javascript:;">时间</a>
            </li>
            <li>
                <a href="javascript:;">豆品</a>
            </li>
        </ul>
        <ul>
            <li>
                <a href="JavaScript:;">下载豆瓣客户端</a>
            </li>
            <li>
                <a href="javascript:;">登陆/注册</a>
            </li>
        </ul>
    </div>
    <!-- 头部搜索区域 -->
    <div class="search">
        <!-- 头部版心 -->
        <div class="Main">
            <!-- 豆瓣音乐Logo -->
            <div class="songsLogo">
                <a href="javaScript:;">
                    豆瓣音乐
                </a>
            </div>
            <!-- 搜索框 -->
            <form class="searchinput">
                <input placeholder="唱片名、表演者、条码、ISRC"></input>
                <li>O</li>
            </form>
        </div>
    </div>

    <!-- 导航区域 -->
    <div class="topNav">
        <!-- 版心 -->
        <ul class="Main">
            <li>
                <a href="javascript:;">音乐人</a>
            </li>
            <li>
                <a href="javascript:;">专题</a>
            </li>
            <li>
                <a href="javascript:;">排行榜</a>
            </li>
            <li>
                <a href="javascript:;">分类浏览</a>
            </li>
            <li>
                <a href="javascript:;">乐评</a>
            </li>
            <li>
                <a href="javascript:;">豆瓣FM</a>
            </li>
            <li>
                <a href="javascript:;">歌单</a>
            </li>
            <li>
                <a href="javascript:;">2020年度榜单</a>
            </li>
        </ul>
    </div>

    <!-- 豆瓣音乐表单 -->
    <a class="songLogo" href="javascript:;">
        <img src="http://img3.doubanio.com/dae/accounts/resources/19870c3/music/assets/annual_2019.png" />
    </a>

    <!-- 中间宽度(版心) -->
    <div class="Main">
        <!-- 主体区域 -->
        <div id="left" style="float: left;">
            <!-- 轮播图 -->
            <div class="swiper">
                <img src="./images/banner/banner-2874.jpg" />
            </div>
            <!-- 排行榜 --音乐人-->
            <div class="ranking1">
                <span>
                    <a href="javascript:;">本周流行音乐人</a>
                    <a href="javascript:;">|</a>
                    <a href="javascript:;">上升最快音乐人</a>
                </span>
                <div class="rankingContent">
                    <div>
                        <img src="./images/banner/banner-2912.jpg">
                        <a>YYY</a>
                        <a>XXX</a>
                    </div>
                    <div>
                        <img src="./images/banner/banner-2912.jpg">
                        <a>YYY</a>
                        <a>XXX</a>
                    </div>
                    <div>
                        <img src="./images/banner/banner-2912.jpg">
                        <a>YYY</a>
                        <a>XXX</a>
                    </div>
                    <div>
                        <img src="./images/banner/banner-2912.jpg">
                        <a>YYY</a>
                        <a>XXX</a>
                    </div>
                    <div>
                        <img src="./images/banner/banner-2912.jpg">
                        <a>YYY</a>
                        <a>XXX</a>
                    </div>
                    <div>
                        <img src="./images/banner/banner-2912.jpg">
                        <a>YYY</a>
                        <a>XXX</a>
                    </div>
                    <div>
                        <img src="./images/banner/banner-2912.jpg">
                        <a>YYY</a>
                        <a>XXX</a>
                    </div>
                    <div>
                        <img src="./images/banner/banner-2912.jpg">
                        <a>YYY</a>
                        <a>XXX</a>
                    </div>
                </div>
            </div>
            <!-- 排行版 --新碟榜 -->
            <div class="ranking2">
                <div class="title">
                    <span>新碟榜</span>
                    <ul>
                        <li>最热</li>
                        <li>|</li>
                        <li>华语</li>
                        <li>|</li>
                        <li>欧美</li>
                        <li>|</li>
                        <li>日韩</li>
                        <li>|</li>
                        <li>单曲</li>
                    </ul>
                </div>
                <div class="rankingContent">
                    <div>
                        <img src="./images/banner/banner-2912.jpg">
                        <a>YYY</a>
                        <a>XXX</a>
                        <span>评分</span>
                    </div>
                    <div>
                        <img src="./images/banner/banner-2912.jpg">
                        <a>YYY</a>
                        <a>XXX</a>
                        <span>评分</span>
                    </div>
                    <div>
                        <img src="./images/banner/banner-2912.jpg">
                        <a>YYY</a>
                        <a>XXX</a>
                        <span>评分</span>
                    </div>
                    <div>
                        <img src="./images/banner/banner-2912.jpg">
                        <a>YYY</a>
                        <a>XXX</a>
                        <span>评分</span>
                    </div>
                    <div>
                        <img src="./images/banner/banner-2912.jpg">
                        <a>YYY</a>
                        <a>XXX</a>
                        <span>评分</span>
                    </div>
                    <div>
                        <img src="./images/banner/banner-2912.jpg">
                        <a>YYY</a>
                        <a>XXX</a>
                        <span>评分</span>
                    </div>
                    <div>
                        <img src="./images/banner/banner-2912.jpg">
                        <a>YYY</a>
                        <a>XXX</a>
                        <span>评分</span>
                    </div>
                    <div>
                        <img src="./images/banner/banner-2912.jpg">
                        <a>YYY</a>
                        <a>XXX</a>
                        <span>评分</span>
                    </div>
                </div>
            </div>
            <!-- 排行版 --近期热门歌单 -->
            <div class="ranking3">
                <div class="title">
                    <span>近期热门歌单</span>
                    <ul>
                        <li>最热</li>
                        <li>|</li>
                        <li>流行</li>
                        <li>|</li>
                        <li>摇滚</li>
                        <li>|</li>
                        <li>民谣</li>
                        <li>|</li>
                        <li>原生</li>
                    </ul>
                </div>
                <div class="rankingContent">
                    <div>1</div>
                    <div>2</div>
                    <div>3</div>
                    <div>4</div>
                    <div>5</div>
                    <div>6</div>
                </div>
            </div>
        </div>

        <div id="right" style="float: right; height: 3000px;">
            <!-- 加入 -->
            <div class="join">
                <div class="top">
                    <div>
                        <p>47556</p>
                        <span>音乐人</span>
                    </div>
                    <div>
                        <p>2345</p>
                        <span>播客</span>
                    </div>
                    <div>
                        <p>1432</p>
                        <span>厂牌</span>
                    </div>
                </div>
                <div class="bot">
                    <div>我要加入</div>
                </div>
            </div>
            <!-- 音乐人分类 -->
            <div class="songsTypes">
                <span>热门音乐人分类</span>
                <ul>
                    <li>
                        <a href="javascript:;">流行</a>
                    </li>
                    <li>
                        <a href="javascript:;">轻音乐</a>
                    </li>
                    <li>
                        <a href="javascript:;">摇滚</a>
                    </li>
                    <li>
                        <a href="javascript:;">古典</a>
                    </li>
                    <li>
                        <a href="javascript:;">电子</a>
                    </li>
                    <li>
                        <a href="javascript:;">世界音乐</a>
                    </li>
                    <li>
                        <a href="javascript:;">民谣</a>
                    </li>
                    <li>
                        <a href="javascript:;">说唱</a>
                    </li>
                    <li>
                        <a href="javascript:;">爵士</a>
                    </li>
                    <li>
                        <a href="javascript:;">原生</a>
                    </li>
                    <li>
                        <a href="javascript:;">流行</a>
                    </li>
                    <li>
                        <a href="javascript:;">流行</a>
                    </li>
                </ul>
            </div>
            <!-- 本周单曲排行 -->
            <div class="weekRanking">
                <!-- 标题 -->
                <div class="weekRankingTitle">
                    <span>本周单曲榜</span>
                    <button>播放全部</button>
                </div>
                <!-- 分类 -->
                <ul class="classification">
                    <li>最热</li>
                    <li>|</li>
                    <li>摇滚</li>
                    <li>|</li>
                    <li>民谣</li>
                    <li>|</li>
                    <li>流行</li>
                    <li>|</li>
                    <li>电子</li>
                    <li>|</li>
                    <li>说唱</li>
                </ul>
                <div class="playsongs">
                    <ul>
                        <li>
                            <img src="./images/logo.png">
                            <span>classification</span>
                        </li>
                        <li>
                            <img src="./images/logo.png">
                            <span>classification</span>
                        </li>
                        <li>
                            <img src="./images/logo.png">
                            <span>classification</span>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    </div>
</template>
<script>
export default {
  name: "Music"
};
</script>
<style lang="less" rel="stylesheet/less" scoped>
//
body {
  position: relative;
}

//确定版心
.Main {
  width: 1040px;
  margin: 0px auto;
}

// 头部
.Navigation {
  width: 100%;
  height: 28px;
  background: #545652;
  font-size: 12px;

  ul:nth-child(1) {
    float: left;

    li {
      line-height: 28px;
      float: left;
      list-style: none;

      a {
        text-decoration: none;
        color: #d5d5d5;
        padding: 0 12px;
      }
    }
  }

  ul:nth-child(2) {
    float: right;

    li {
      line-height: 28px;
      float: left;
      list-style: none;

      a {
        text-decoration: none;
        color: #d5d5d5;
        padding: 0 12px;
      }
    }
  }
}

// 头部搜索整体区域
.search {
  // 背景色
  background-color: #f0f3ef;
  // 下边框
  border-bottom: 1px solid #e5ebe4;

  // 版心
  .Main {
    height: 74px;
    display: flex;

    // Logo
    .songsLogo {
      margin-right: 30px;

      a {
        display: block;
        font-size: 0px;
        width: 145px;
        height: 56px;
        background-image: url("./images/logo.png");
        background-size: 150px 65px;
        background-position: -17px 6px;
      }
    }

    // 搜索框
    .searchinput {
      width: 895px;
      height: 34px;
      margin-top: 22px;
      display: flex;

      // 搜索框
      input {
        width: 470px;
        height: 30px;
        border: none;
        border-bottom: 2px solid #dddddd;
        border-radius: 3px 0px 0px 3px;
        padding-left: 10px;
        outline: none;
      }

      // 搜索按钮
      li {
        display: block;
        width: 37px;
        height: 32px;
        background-color: #9ba39b;
        border-radius: 0px 3px 3px 0px;
      }
    }
  }
}

// 导航区域
.topNav {
  height: 40px;
  background-color: #f0f3ef;
  margin-bottom: 40px;

  ul {
    display: flex;

    li {
      margin-right: 30px;

      a {
        font-size: 14px;
        color: #555d35;
        line-height: 40px;

        &:hover {
          color: #000;
          text-decoration: none;
          background-color: #545652;
          font-weight: 600;
          color: whitesmoke !important;
        }
      }
    }
  }
}

// 2019 年度榜单
.songLogo {
  position: absolute;
  top: 38px;
  right: 180px;

  img {
    width: 166px;
    height: 96px;
  }
}

// 主题区域

// 轮播图
.swiper {
  img {
    width: 675px;
    height: 250px;
  }
}

// 排行榜1
.ranking1 {
  margin-top: 35px;

  span {
    display: block;
    width: 675px;
    height: 32px;

    a {
      float: left;
      font-size: 14px;
      line-height: 30px;
      color: #999;
    }
  }

  .rankingContent {
    width: 645px;
    height: 415px;
    border-top: 2px solid green;
    background: #f5f7f8;
    padding: 15px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;

    div {
      width: 135px;
      height: 135px;

      img {
        width: 125px;
        height: 125px;
        margin: 5px;
      }

      a {
        display: block;
        text-align: center;
        font-weight: bold;
        font-size: 15px;
        color: #138a64;
        margin: 3px 0px 0px;
      }
    }
  }
}

// 排行榜2
.ranking2 {
  margin-top: 35px;

  .title {
    display: flex;

    span {
      color: #222222;
      font-size: 17px;
      margin-right: 17px;
    }

    ul {
      display: flex;

      li {
        font-size: 13px;
        margin-right: 2px;
      }
    }
  }

  .rankingContent {
    width: 645px;
    height: 415px;
    border-top: 2px solid green;
    background: #f5f7f8;
    padding: 15px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;

    div {
      width: 135px;
      height: 135px;

      img {
        width: 125px;
        height: 125px;
        margin: 5px;
      }

      a {
        display: block;
        text-align: center;
        font-weight: bold;
        font-size: 15px;
        color: #138a64;
        margin: 3px 0px 0px;
      }
    }
  }
}

// 排行榜3
.ranking3 {
  margin-top: 35px;

  .title {
    display: flex;

    span {
      color: #222222;
      font-size: 17px;
      margin-right: 17px;
    }

    ul {
      display: flex;

      li {
        font-size: 13px;
        margin-right: 2px;
      }
    }
  }

  .rankingContent {
    width: 645px;

    border-top: 2px solid green;
    background: #f5f7f8;
    padding: 15px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;

    div {
      width: 300px;
      height: 180px;
      margin: 0px 15px 15px 0px;
      background-color: red;
    }
  }
}

#right {
  .top {
    display: flex;

    div {
      width: 48px;
      height: 42px;
      background-color: #f5f7f8;
      margin-right: 3px;
      padding: 15px 25px 0px 25px;

      p {
        font-size: 17px;
        font-weight: bold;
        line-height: 15px;
        color: #138a64;
      }

      span {
        width: 100%;
        display: block;
        font-size: 15px;
        margin-top: 5px;
        text-align: center;
        color: #666;
      }
    }
  }

  .bot {
    background-color: #139d72;
    width: 300px;
    height: 38px;
    color: #fff;
    display: block;
    font-size: 17px;
    text-align: center;
    line-height: 38px;
    margin-top: 3px;
    border: 1px solid #138a64;
  }

  .songsTypes {
    margin-top: 20px;

    span {
      font-size: 15px;
      color: #222;
      margin-bottom: 3px;
    }

    ul {
      width: 300px;
      height: 222px;
      border-bottom: 1px solid #f8f6f6;

      li {
        float: left;

        a {
          display: block;
          width: 141px;
          height: 36px;
          line-height: 36px;
          display: block;
          border-top: 1px solid #f8f6f6;
          border-right: 1px solid #f8f6f6;
          color: #138a64;
          font-size: 15px;
          padding-left: 6px;

          &:hover {
            text-decoration: none;
            background-color: rgb(245, 247, 248);
            color: #138a64 !important;
          }
        }
      }
    }
  }

  // 本周单曲排行
  .weekRanking {
    margin-top: 20px;

    .weekRankingTitle {
      border-bottom: 1px solid #e4e2e2;
      padding-bottom: 5px;
      margin-bottom: 10px;

      span {
        font-size: 15px;
        color: #222;
        margin-bottom: 3px;
      }

      button {
        background: #139d72;
        border: 1px solid #138a64;
        border-radius: 3px;
        font-size: 13px;
        color: #fff;
        line-height: 24px;
        width: 88px;
        height: 23px;
        display: inline-block;
        text-align: center;
        float: right;
      }
    }

    .classification {
      display: flex;

      li {
        font-size: 13px;
        margin-right: 4px;
      }
    }

    .playsongs {
      ul {
        li {
          height: 50px;
          margin: 5px 0px;

          img {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            margin-right: 10px;
          }

          span {
            display: inline-block;
            font-size: 20px;
            line-height: 48px;
            vertical-align: middle;
            margin-top: -40px;
          }
        }
      }
    }
  }
}
</style>